@import "reset", "mixin", "variable", "commcon";



.header-wrapper{
  position: relative;
  width: 100%;
  height: 170px;
  .header-content{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 56px;
    background-color: rgba(255,255,255,0.4);
    z-index:5;
    .middle{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 100%;
      line-height: 56px;
      font-size: 13px;
      color: #222;
      .info{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
      .user{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
    }
  }
  .header-bg{
    width:100%;
    height: 170px;
    overflow: hidden;
    .bg-img{
      width:100%;
      height: 170px;
      min-width: 1160px;
    }
  }
}
//nav
.tab{
  width: 1160px;
  height: 50px;
  margin: 0 auto;
  font-size: 12px;
  .tab-item{
    display: inline-block;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    &:hover{
      a{
        color: #1D8CE0;
      }
    }
    &:last-child{
      padding-right: 0;
    }
    a{
      line-height: 25px;
      color: #222;
    }
    .num{
      display: block;
      font-size: 12px;
      line-height: 18px;
      background: rgb(255, 175, 201);
      border-radius: 4px;
      color: #fff;
    }
    .fa-home{
      display: block;
      line-height: 18px;
      color: rgb(255, 175, 201);

    }
  }
}


.commit-box-mask{
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index:10000;
  width: 100%;
  height: 100%;
  background-color: rgba(7,17,27,0.5);
  .commit-box{
    position: relative;
    left: 50%;
    top: 50%;
    z-index:10001;
    margin-left: -312px;
    margin-top: -102px;
    width: 600px;
    height: 400px;
    textarea{
      width: 100%;
      border: 6px solid rgba(12, 188, 241, 0.63);
      border-radius: 10px;
      font-size: 16px;
    }
    .commit-btn{
      display: inline-block;
      margin-top: 10px;
      margin-right: 10px;
      input{
        width: 60px;
        height: 40px;
        padding: 5px;
      }
    }
  }
}



.book_list{
  width:1158px;
  margin: 4px auto;
  border: 1px solid rgba(255,255,255,0.82);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #1b2433;
  overflow: hidden;
  margin-bottom: 0;
  .book_list_left{
    float: left;
    background-color: #1b2433;
    border-top-left-radius: 10px;
    width: 260px;

    div{
      width: 150px;
      height: 150px;
      margin: 20px auto;
    }
    img{
      width: 100%;
      height: 100%;
      border-radius: 150px;
    }
  }

  .book_list_right{
    width: 898px;
    float: right;
    overflow: hidden;
    background-color: #edf2f6;

    .title{
      width: 100%;
      height: 80px;
      padding-left: 50px;
      color: gray;
      background-color: white;

      font-size: 20px;
      font-weight: bold;
      line-height: 80px;

    }

    .content{
      margin-top: 10px;
      width: 95%;
      background-color: white;
      float: right;
      padding-left: 1%;
      overflow: hidden;
      .time{
        width: 100%;
        height: 50px;
        background-color: white;
        margin-bottom: 5px;
        line-height: 50px;
        .title-box{
          float: left;
          height: 50px;
          width: 780px;
        }
        .collect{
          width: 70px;
          height: 40px;
          float: left;
          text-align: center;
          background-color: #B5B5B5;
          border-radius: 10px;
          margin-top: 10px;
          line-height: 40px;
          cursor: pointer;
        }
      }

      .content_image{


        width: 98%;
      }
      #book-list{
        img{
          max-width: 844px;
          max-height: 600px;
          cursor: pointer;
          margin-bottom: 5px;
        }
      }


      .hide_thing{
        border: 1px dashed black;
        width: 98%;
        height: 80px;
        line-height: 80px;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;

      }
    }
  }
}
.book_commit{
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin-top: 0;
  .book_list_right{
    .content{
      min-height: 250px;
      position: relative;

    }
    .content_commit{
      position: absolute;
      bottom: 0;
      right: 0;
      width: 30px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      font-size: 20px;
      font-weight: bold;
    }
  }
}

.book_list_mask{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0,0,0,0.8);
  z-index:200;
  left: 0;
  top: 0;

  .commit_add{
    border: 3px solid #b1aeae;
    margin-top: 150px;
    padding: 10px;
  }
  .commit_add_button{
    margin-top: 20px;
  }
}

/**/


#G-lightbox-mask{ position: fixed;left:0;top:0;width:100%;height:100%;background-color: #000;opacity: 0.5;
  z-index:10000;display: none}

#G-lightbox-popup{
  position: fixed;left:50%;top:0;margin-left: -200px;width:400px;
  z-index:10001;display: none;
}

#G-lightbox-popup .lightbox-pic-view{
  position: relative;border: 5px solid #fff;border-radius: 3px;
  overflow: hidden;background:#fff url("../icon/loading.gif") no-repeat center center;
}

#G-lightbox-popup .lightbox-pic-view .lightbox-btn{
  position: absolute;top:0;
  width:10%;
  z-index:1;
  height:100%;
  background: url("../icon/transparent.png") repeat left top ;
}
#G-lightbox-popup .lightbox-pic-view{overflow: hidden}
#G-lightbox-popup .lightbox-pic-view .lightbox-prev-btn{left:0;}
#G-lightbox-popup .lightbox-pic-view .lightbox-next-btn{right:0;}
#G-lightbox-popup .lightbox-pic-view .lightbox-prev-btn-show{background: url("../icon/prev.png") no-repeat left center;cursor: pointer}
#G-lightbox-popup .lightbox-pic-view .lightbox-next-btn-show{background: url("../icon/next.png") no-repeat right center;cursor: pointer}
#G-lightbox-popup .lightbox-pic-view .lightbox-image{display: block}

#G-lightbox-popup .lightbox-pic-caption{margin:0 5px;position: relative;background-color: rgba(0,0,0,0.5);margin-top:-30px;z-index: 2;background: url("../icon/opacity.png") repeat left top;width: 99.2%;
}
#G-lightbox-popup .lightbox-pic-caption .lightbox-caption-area{
  color:#fff;
}
#G-lightbox-popup .lightbox-pic-caption .lightbox-caption-area .lightbox-of-index{color:#999;}
#G-lightbox-popup .lightbox-pic-caption .lightbox-close-btn{
  position: absolute;top:-2px;right:2px;width:27px;height:27px;background: url("../icon/close.png") no-repeat center center;
}

